package com.changeover.gwt.client.controller;

import com.changeover.gwt.client.view.IMainView;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.HasWidgets;

public class TasksController implements Controller {

    private final HandlerManager eventBus;
    private final IMainView view;

    public TasksController(HandlerManager eventBus, IMainView view) {
        this.eventBus = eventBus;
        this.view = view;
    }

    public void bind() {
    }

    @Override
    public void go(HasWidgets container) {
        bind();
        container.clear();
        container.add(view.asWidget());
    }

}
